import * as types from '../action-types'
let initial = {
    info:null
}
export default (state = initial,action)=>{
    state = {...state}
    switch(action.type){
        //更新登陆者信息
        case types.BASE_INFO:
            state.info = action.info
            break;
        default:
    }

    return state
}